<?php
$fb = new FormBuilder('application', $entity);
$fb->displayOnly();
$fb->display('created_by')->value(format::personFullName($entity['created_by']));
$fb->timestamp('created_at');
if ($entity['created_at'] != $entity['modified_at']) {
    $fb->display('modified_by')->value(format::personFullName($entity['modified_by']));
    $fb->timestamp('modified_at');
}
$fb->integer(sql::$ENTITY_VERSION_KEY);
$fb->write();

echo '<span class="popupTitle">' . html::img('action/entityInfo.png') . text::getEscaped('application.entityInfo-title') . '</span>';

echo '<p class="centered"><button onclick="closePopup(this)">' . text::getEscaped('button.close') . '</button></p>';